package com.example.restaurant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.restaurant.model.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.restaurant.service.param.AddOrderParam;
import com.example.restaurant.service.param.ModifyOrderParam;
import com.example.restaurant.service.param.QueryOrderParam;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author x
 * @since 2022-09-29
 */
public interface OrdersService extends IService<Orders> {
    String addOrder(AddOrderParam addOrderParam);
    Page<Orders> queryOrderByOrderNumber(String orderNumber,Integer current,Integer size,Integer storeId);
    void modifyOrder(ModifyOrderParam param);
    Orders getOrder(String orderNumber);
}
